streaming Protocol), live streaming protocol.
HTTP Full Name routing table maintenance Protocol (Routing Table Maintenance Protocol).
2:http all the data as a file. The HTTP protocol is not a streaming media protocol.
RTMP and RTSP protocols are streaming media protocols.
The 3:rtmp agreement is Adobe's private agreement, which is not fully disclosed, and the RTSP protocol and the HTTP protocol are commo
First, download the library files that you need to rely on to install Nginx:1.1, select Source DirectorySelected Directory/usr/local/rtmpCd/usr/local/rtmp1.2, installing the Pcre LibraryCd/usr/local/rtmpTo www. pcre. org download pcre-8.37.tar.gz, then copy to/usr/local/hlsTAR-ZXVF pcre-8.37.tar.gzCD pcre-8.37./configureMakeMake install1.3, installing the Zlib libraryCd/usr/local/rtmpTo www. zlib. NET Download zlib-1.2.8.tar.gz, then copy to/usr/local/hlsTAR-ZXVF zlib-1.2.8.tar.gz CD zlib-1.2.8.
minutes.timeout 60s;
Ping syntax: Ping valueContext: rtmp, serverDescription: RTMP ping interval. A value of 0 will turn the ping off. RTMP Ping is a protocol feature that checks for active connections. Send a special package to the remote connection and expect a reply within the time specified by the ping_timeout instruction. If you do not receive a ping reply
Streamid
4
Stream ID
1) head_type-header typeHead_type occupies the first byte of the rtmp package, which records the package type and package channelid. The first two bits of head_type determine the header length. It can be calculated using the mask 0xc0 "and:The first two bits of head_type correspond to the length:
Bits
Header Length
00
12 bytes
01
8 bytes
10
4 bytes
11
addition to the above three terms, the protocol header can also add more information (such as control information and time information), depending on the specific application. When looking at the agreement, we can better grasp the subject of the agreement for analysis and design.
2 rtmp protocol Overview The rtmp protocol is used by flash for object, video, and audio transmission. The Protocol is buil
: This article mainly introduces how to configure the rtmp Server for NGINX to implement rtmp and hls live broadcast. if you are interested in PHP Tutorial, refer to it. Introduction to NGINX
First configure:
work_processes4;events{ work_connections1024;}http{ include mime.types; default_type application/octet-stream; sendfileon; keepalive_timeout65; server{ listen80; server
generally requires 2-3 channels, command and Data channel separation, HTTP and rtmp generally on a TCP channel to transmit commands and data.RTSP, RTCP, RTP differences1:RTSP Real-Time Streaming protocolAs an application-level protocol, RTSP provides an extensible framework that makes it possible to control and on-demand real-time streaming media data. In general, RTSP is a streaming media representation p
specified by the ping_timeout instruction.
If the ping reply is not received within this time, then close the connection. The default value for Ping an is 1 minutes. The default ping timeout is 30 seconds.
Ping 3m;Ping_timeout 30s;Ping_timeout
Ping_timeout
Syntax: Ping_timeout valueContext: rtmp, server
See the description of the ping above
Max_streams single-class data Max limit
Syntax: Max_streams valueContext:
Keywords: nignx (http server); Rtmp,hls (Streaming media Services)Thanks for the open source, thanks to the fighting people. Now in some of the work of streaming media services, streaming media server set up online tutorials more into the calf, but look carefully, found a lot of comrades posted tutorials have a little problem, there are some are crawling other people's data to get, typesetting also have problems, let novice confused. This article is a
A simple Rtmp/hls Live server licensed by the MIT protocol, its core value concept is simplicity and efficiency.How to use:TEP 1:build SRSTar XF simple-rtmp-server-*.*.tar.gzCD Simple-rtmp-server-*.*/trunk./configure--with-ssl--with-hlsMakeStep 2:start SRS./objs/simple_rtmp_server-c conf/srs.confStep 3 (Optional): Start Nginx for HLSsudo./objs/nginx/sbin/nginxSte
http://neue.v2ex.com/t/316766Although the browser with JS decoding ' play ' video scheme has a few ... Why not one more ...Basic principle:
The server uses websockify to relay an rtmp Stream.
The browser uses NODE-RTMPAPI to parse the RTMP protocol to complete the handshake and Communication.
Extract the H264 video stream
Send to Broadway decode
Repo:https://github.com/yingdev/web-rtmpAt pr
Static Library Connection Compilation issues:Assert is not defined under the C compilerCeill no connection, no-lm.Http://blog.chinaunix.net/uid-20681545-id-3786786.html-c and-lz cannot be used together with-c no connectionhttp://blog.csdn.net/aiwoziji13/article/details/7330333 Static Library ConnectionHttp://www.cnblogs.com/HuangWj/p/5012120.html vs2010 under the libraryHttps://github.com/ossrs/srs/wiki/v1_CN_SampleRTMP ok!Https://github.com/ossrs/srs/wiki/v2_CN_BuildHttps://github.com/ossrs/srs
What's the channel?Channel type is the second major innovation of Java.nio. The channel is neither an extension nor an enhancement, but a new, excellent Java I/O example that provides a direct connection to the I/O service. Channel is used to efficiently transfer data between a byte buffer and an entity located on the other side of the channel (typically a file or socket) .Typically, a channel has a one-to-one relationship with the operating system's file descriptor (filedescriptor) and file ha
What's the channel?Channel type is the second major innovation of Java.nio. The channel is neither an extension nor an enhancement, but a new, excellent Java I/O example that provides a direct connection to the I/O service. channel is used to efficiently transfer data between a byte buffer and an entity located on the other side of the channel (typically a file or socket) .Typically, a channel has a one-to-one relationship with the operating system's file descriptor (filedescriptor) and file han
[Android] network connection types and channels, android Channels
1. Implementation Method
1.1 Use HttpUrlConnection
1.2 use HttpClient
1.3 Use Socket, such as pea pods and chat tools
2. Communication channels
2.1 WLAN (Wi-Fi), around 100 meters of Data Transmission
2.2 Mobile Phone APN Access Point (Base Station)
2.2.1 The wap method is China's characteristic.
The simplest example of Flash-based streaming media: RTMP push and receipt (ActionScript) and rtmpactionscriptThis article records some Flash-based streaming media processing examples. The most common Streaming Media Protocol for Flash platforms is RTMP. Some RTMP players/streamer Based on C/C ++ recorded previously, but no R
One, RTMP, RTSP, HTTP protocolThese three protocols belong to the Application layer protocol in the Internet TCP/IP five layer architecture. Theoretically these three kinds can be used for video broadcast or on-demand. But usually, live broadcast with RTMP, RTSP. And on-demand with HTTP.The following are the characteristics of the following three respectively. The 1,RTM
How does one count downloads of iOS products from different channels ?, Statistics on ios product channelsI. Preface
During development, Android may produce many packages to identify different store downloads. I thought Apple had only one store: AppStore. How can I make statistics from different sources? This article describes how to make statistics on different channels.
Ii. Text
Let's take a look at Apple
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.